{extend name="common@public/base" /}
{block name="title"}
<title>{$user['name'] ?: $user['username']} - {$title}列表_{:confv('title')}</title>
<meta name="keywords" content="index,会员中心首页,{:confv('keywords')}">
<meta name="description" content="{:confv('description')}">
{/block}

{block name="pjax_container"}
<div class="content">

	<div class="row">
		<div class="col-sm-8">
			{include file="common@public/user" /}

			{volist name="$arcLists" id="vo" empty="$empty"}
			<div class="media box box-solid x-p-10 donghua fadeInUp">
				<a class="media-left" href="{$vo.arcurl}" title="{$vo.title}">
					<img class="media-object" src="{$vo['litpic']|default='/static/common/img/logo.jpg'}" >
				</a>
				<div class="media-body x-dwr">
					{eq name="$vo['writer']" value="$user['id']"}
					<div class="x-dwa-rb">
						<a href="{:url('edit',['id'=>$vo['id']])}" class="btn btn-xs btn-info btn-flat"><i class="fa fa-pencil-square-o"></i> 编辑</a>
						<a href="javascript:void(0);" data-dataobj='{"title":"删除提醒","info":"确认要删除吗？","url":"{:url('delete')}","data":{"id":"{$vo['id']}"}}' class="popups btn btn-xs btn-danger btn-flat"><i class="fa fa-trash-o"></i> 删除</a>
					</div>
					{/eq}
					<a href="{$vo.arcurl}" class="" title="{$vo.title}">
						<h4 class="media-heading x-t-no1 x-mb-0 x-lh-28">{$vo.title}</h4>
						<p class="x-t-no3 x-lh-20 text-muted x-mb-0">
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{:csubstr(trimall($vo.description),90)}
						</p>
					</a>
				</div>
				<div class="x-tc-hui x-mt-5">
			        <div class="pull-left">
			            <a class="text-muted" href="{$vo->arctypeurl}" title="{$vo->Arctype->typename}">
			            <i class="fa fa-tags"></i> {$vo->Arctype->typename}</a>
			        </div>
			        <div class="pull-left x-ml-5">
			            <a href="javascript:void(0);" class="text-muted" title="{$vo['user']['name'] ?: $vo['user']['username']} 发布">
			            	<i class="fa fa-user"></i> {$vo['user']['name'] ?: $vo['user']['username']}
			            </a>
			        </div>
			        <div class="pull-right x-tr">
			            <i class="fa fa-clock-o x-pr-5"> {$vo.create_time}</i>
			            <i class="fa fa-eye x-pr-5"> {$vo.click}</i>
			            <i class="fa fa-commenting-o x-pr-5"> {$vo['reply_num']}</i>
			            <i class="fa fa-thumbs-o-up"> {$vo['zan_num']}</i>
			        </div>
			  	</div>
			  	{notempty name="$vo['flag']"}
				{if condition="strchr($vo['flag'],'h')"}
				    <div class="x-jb">头条</div>
				{elseif condition="strchr($vo['flag'],'a')" /}
					<div class="x-jb x-bgc-cheng">置顶</div>
				{elseif condition="strchr($vo['flag'],'c')"}
					<div class="x-jb x-bgc-lv">推荐</div>
				{/if}
				{/notempty}
			</div>
			{/volist}
            {notempty name="$arcLists->render()"}
			<div class="box box-solid">
				<div class="box-body">	<!--分页-->
            		{$arcLists->render()}
      			</div>
			</div>
			{/notempty}


		</div>

        <div class="col-sm-4" >
            {include file="public/right" /}
        </div>

	</div>




</div>





<script>
$(function () {

})
</script>


{/block}





